package cn.ycxy.lbl.pojo.repairs.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


@ApiModel("维修上报更新条件模板")
@Data
public class MaintainInfoUpdateDTO {

    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "联系电话")
    private String mobilePhone;

    @ApiModelProperty(value = "维修地点")
    private String place;

    @ApiModelProperty(value = "详细地址")
    private String detailedAddress;

    @ApiModelProperty(value = "维修类型:0-宿舍报修；1-网络报修")
    private String type;

    @ApiModelProperty(value = "问题描述")
    private String questionDetailed;

    @ApiModelProperty(value = "故障图片集合, 例如:1.jpg,2.jpg,...")
    private String urls;

    @ApiModelProperty(value = "维修进度: 0-待处理,1-处理中,2-已完成,3-已撤销")
    private Integer status;

}
